import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import Select from '@feidao/widgets/fd-w000004';

export default async function a001(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	const s = fd.data.node.querySelector<Select>('[data-feidao-id="fd-w000004-001"]');
	const v = s.get_value();

	fd.data.node.querySelector<HTMLAreaElement>('[data-feidao-id="fd-w000004-003"]').innerHTML = `
const s = fd.data.node.querySelector<Select>('[data-feidao-id="fd-w000004-001"]');
const v = s.get_value();

get_value == ${JSON.stringify(v)}
	`;
}
